home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl1 / examples / lighting / README < prev   
Encoding:
Text File  |  1996-11-11  |  1.8 KB  |  53 lines

  1.  
  2.         to compile programs in the above-indicated sub- directories/trees,
  3.        one must load libglut. inst-able images of GLUT v3.1 are located at 
  4.                 toolbox/src/exampleCode/opengl/GLUT/inst/ 
  5.  
  6.                   -------------------------------------
  7.  
  8.       ~opengl1/examples/lighting README
  9.  
  10.             Copyright 1991-1996, Silicon Graphics,  Inc.
  11.             Technical Education Development
  12.             All Rights Reserved.
  13.  
  14.  
  15.  
  16.     normals.c - demonstrates how to specify normals for lighting.
  17.         The red lines represent the direction of the normals.
  18.  
  19.     Left Mousebutton        - move eye position
  20.     Middle Mousebutton      - change twist angle
  21.     Right Mousebutton       - move up / down to zoom in / out
  22.     Escape Key              - exit the program
  23.  
  24.  
  25.     materials.c - Use material properties to change the color and
  26.         reflection models for some objects
  27.  
  28.     Left Mousebutton        - move eye position
  29.     Middle Mousebutton      - change twist angle
  30.     Right Mousebutton       - move up / down to zoom in / out
  31.     <R> Key             - reset viewpoint
  32.     Escape Key              - exit the program
  33.  
  34.  
  35.     colorMaterial.c - demonstrates the use of glColorMaterial 
  36.         to quickly change material properties.
  37.  
  38.     Escape key              - exit the program
  39.  
  40.  
  41.     lightIntensity.c - Use light properties to change the color
  42.                        of the light in our scene.
  43.                
  44.     Left Mousebutton        - move eye position
  45.     Middle Mousebutton      - change twist angle
  46.     Right Mousebutton       - move up / down to zoom in / out
  47.     <a> Key         - toggle ambient light intensity on/off
  48.     <d> Key         - toggle diffuse light intensity on/off
  49.     <s> Key         - toggle specular light intensity on/off
  50.     <R> Key             - reset viewpoint
  51.     Escape Key              - exit the program
  52.                        
  53.